package com.thomasmoerman.dci3.frw

import org.hibernate._
import org.springframework.beans.factory.annotation._
import scala.reflect._

trait HibernateSessionProvider {
  
  def session: Session = sessionFactory.getCurrentSession	
	
  @Autowired @BeanProperty var sessionFactory: SessionFactory = _
	
}